package org.mms.service;

import org.mms.pojo.dto.DepartmentDto;
import org.mms.pojo.request.DepartmentRequest;

import java.util.List;

public interface DepartmentService {
    List<DepartmentDto> list();
    DepartmentDto getById(Long id);
    void create(DepartmentRequest request);
    void update(DepartmentRequest request);
    void delete(Long id);
}